//
//  OrderCell.h
//  WorkNest
//
//  Created by qbm360 on 15/7/13.
//  Copyright (c) 2015年 nest. All rights reserved.
//

// 下单列表的cell

#import <UIKit/UIKit.h>
#import "ShoppingCartModel.h"

@protocol OrderDelegate <NSObject>

- (void)didSelectDeleteAtIndexPath:(NSIndexPath *)indexPath;
- (void)didSelectModifyAtIndexPath:(NSIndexPath *)indexPath;
- (void)didSelectCheckButtonAtIndexPath:(NSIndexPath *)indexPath ifcheck:(BOOL)ifcheck;

@end

@interface OrderCell : UITableViewCell

@property (assign, nonatomic) id <OrderDelegate>delegate;
@property (strong, nonatomic) NSIndexPath *indexPath;
@property (assign, nonatomic) BOOL ifSelected;
@property (assign, nonatomic) BOOL ifEdit;
@property (strong, nonatomic) ShoppingCartModel *model;

@end
